import Http from '@/common/http'

export default {

  create: params => Http.post('/review/create', params),

  getInfo: id => Http.get(`/review/${id}/info`),

  update: (id, params) => Http.post(`/review/${id}/update`, params),

  delete: id => Http.post(`/review/${id}/delete`),

  like: id => Http.post(`/review/${id}/like`),

  unlike: id => Http.post(`/review/${id}/unlike`)

}
